
package Classes;

import java.io.Serializable;

public class User implements Serializable {
    String id, lName, gName, mName, type, username, password, status;
    
    public User(String a, String b) {
        username = a;
        type = b;
    }
    
    public User(String a, String b, String c, String d, String e) {
        username = a;
        type = b;
        lName = c;
        gName = d;
        mName = e;
    }
    
    public User(String a, String b, String c, String d, String e, String f) {
        lName = a;
        gName = b;
        mName = c;
        username = d;
        password = e;
        type = f;
        
    }
        
    public User(String a, String b, String c, String d, String e, String f, String g, String h) {
        id = a;
        lName = b;
        gName = c;
        mName = d;
        username = e;
        password = f;
        status = g;
        type = h;
        
        
    }
    
    public User(String a) {
        username = a;
    }
    
    public User(String a, String b, String c, String d) {
        id = a;
        lName = b;
        gName = c;
        mName = d;
    }
    
    public User(int a) {
        id = a + "";
    }
    
    public String getID() {
        return id;
    }
    
    public String getLName() {
        return lName;
    }
    
    public String getGName() {
        return gName;
    }
    
    public String getIMName() {
        return mName;
    }
        
    public String getName() {
        return (lName + ", " + gName + " " + (mName).charAt(0));
    }
    
    public String getUsername() {
        return username;
    }
    
    public String getPassword() {
        return password;
    }
    
    public String getStatus() {
        return status;
    }
    
    public String getType() {
        return type;
    }
    
    public String toString() {
        return (id + " " + getName() + "\n" + username + " : " + password + "\n" + status + " " + type);
    }
    
    public void setID(String a) {
        id = a;
    }
}
